﻿using Microsoft.Practices.Prism.Events;
using Microsoft.Practices.Prism.Regions;
using Tanmia.Basis.ViewInterface;
using Tanmia.Basis.ViewModel;
using Tanmia.Warehouse.Core;
using Tanmia.Warehouse.Domain;

namespace Tanmia.Warehouse.Presentation.Scenarios
{
    [ViewInfo("تحرير فرع", "تستخدم الفروع لتعريف فروع الشركة المنتشرة على توزيعات جغرافية مختلفة...", Constants.RegionEditor, Views.BranchEditor)]
    public class BranchEditorViewModel : EditorViewModel<Branch>
    {
        public BranchEditorViewModel(IShellView shellView, IRegionManager regionManager, IEventAggregator eventAggregator, IBusinessEntityNavigator<Branch> entityNavigator, IMessageService messageService, BranchDomain branchObj)
            : base(shellView, regionManager, eventAggregator, entityNavigator, messageService, branchObj)
        {
            EntityName = "Branch";
        }

        protected override void OnDelete()
        {

        }
    }
}
